00550b4ee87bf53712c55b1f961341408bd2bfd3,lvcs/impl/src/com/intellij/localvcs/integration/LocalVcsService.java,LocalVcsService,getProvidedContentFor,#VirtualFile#,97

Before Change


  private ProvidedContent getProvidedContentFor(VirtualFile f) {
    if (!getFileFilter().isAllowedAndUnderContentRoot(f)) return null;

    Content c = myVcs.getEntry(f.getPath()).getContent();
    return c.isAvailable() ? new EntryProvidedContent(c) : null;
  }

After Change


  private ProvidedContent getProvidedContentFor(VirtualFile f) {
    if (!getFileFilter().isAllowedAndUnderContentRoot(f)) return null;

    Entry e = myVcs.findEntry(f.getPath());
    if (e == null) return null;

    Content c = e.getContent();
    return c.isAvailable() ? new EntryProvidedContent(c) : null;